package com.yyx.app1.Data.inconpatibility;

/**table is 配伍禁忌表
 * Taboocompatibletable entity. @author MyEclipse Persistence Tools
 */
//@Entity(name = "tabooCompatible")
public class TabooCompatible {

	// Fields
//	@Id(type = IdType.AUTO_INCREASE, start = 1)
	private String id;
	private String firstMedicine;  //主药品名
	private String secondMedicine; //从药品名
	private String effect;		   //作用机制
	private String tcproperty;     //配伍属性
	private String releaseTime;    //发布时间
	private String adminId;        //管理员id
	private Integer status;  	   //状态   0：创建  1：上架   -1：下架
	private String onTime;         //上架时间
	private String offTime;        //下架时间
	private String startTime;
	private String endTime;
	// Constructors

	/** default constructor */
	public TabooCompatible() {
	}

	/** full constructor */
	
	public TabooCompatible(String id, String firstMedicine,
			String secondMedicine, String effect, String tcproperty,
			String releaseTime, String adminId) {
		super();
		this.id = id;
		this.firstMedicine = firstMedicine;
		this.secondMedicine = secondMedicine;
		this.effect = effect;
		this.tcproperty = tcproperty;
		this.releaseTime = releaseTime;
		this.adminId = adminId;
	}
	// Property accessors

	public String getFirstMedicine() {
		return this.firstMedicine;
	}


	public void setFirstMedicine(String firstMedicine) {
		this.firstMedicine = firstMedicine;
	}

	public String getSecondMedicine() {
		return this.secondMedicine;
	}

	public void setSecondMedicine(String secondMedicine) {
		this.secondMedicine = secondMedicine;
	}

	public String getTcproperty() {
		return this.tcproperty;
	}

	public void setTcproperty(String tcproperty) {
		this.tcproperty = tcproperty;
	}
	
	public String getReleaseTime() {
		return releaseTime;
	}

	public void setReleaseTime(String releaseTime) {
		this.releaseTime = releaseTime;
	}

	public String getAdminId() {
		return adminId;
	}

	public void setAdminId(String adminId) {
		this.adminId = adminId;
	}

	public String getId() {
		
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getEffect() {
		return effect;
	}

	public void setEffect(String effect) {
		this.effect = effect;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getOnTime() {
		return onTime;
	}

	public void setOnTime(String onTime) {
		this.onTime = onTime;
	}

	public String getOffTime() {
		return offTime;
	}

	public void setOffTime(String offTime) {
		this.offTime = offTime;
	}

}